/************************************************************************/
/* Resources                                                            */
/************************************************************************/
#include "Resources/SDLFont.h"

namespace TD_Resources {

	SDLFont::SDLFont() : Resource() {

	}

	SDLFont::SDLFont(const SDLFont &rhs) : Resource(rhs) {

	}

	SDLFont::SDLFont(const string &fontName, unsigned int fontSize) : Resource(fontName) {
		m_fontSize = fontSize;
		m_pFont = TTF_OpenFont(fontName.c_str(), m_fontSize);
		if(m_pFont == NULL) {
			#ifndef _WII
				throw ios_base::failure("Could not load the font file:" + fontName);
			#endif
		}
		
	}

	void SDLFont::render(SDL_Surface *g_destSurface, unsigned int deltaTime) {
		
	}
}